package com.aos.erp.manager.remote;

import com.aos.erp.common.exception.BizException;
import com.aos.erp.manager.remote.model.Division;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "${erp-school-server}", url = "${erp-school-server-url}")
public interface DivisionService {


    /**
     * 根据Id获取车管所
     *
     * @param id  车管所ID
     */
    @PostMapping(value = "/service/division/info")
    Division Info(Long id) throws BizException;

}
